@import '../../../root/fontSize.less';
.login-container {
  width: 100%;
  height: 100%;
  min-height: 900px;
  margin: 0 auto;
  background: #060c1d url(../../../images/home_bg.png) no-repeat;
  background-position: center;
  position: absolute;
  .header-container {
    position: relative;
  }
  .custom-modal {
    width: 720px;
    height: 516px;
    border-radius: 8px;
    background: #f0f0f0;
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    .desc {
      width: 50%;
      height: 546px;
      background: #00284A;
      color: #fff;
      padding-top: 85px;
      padding-left: 50px;
      text-align: left;
      border-radius: 8px 0 0 8px;
      h2 {
        color: #fff;
        font-size: 30px;
        line-height: 48px;
      }
      p {
        font-size: 14px;
        margin-top: 30px;
        width: 307px;
        line-height: 30px;
      }
    }
    .form {
      width: 50%;
      height: 546px;
      background: #fff;
      color: #00284A;
      font-size: 14px;
      // padding: 25px 50px 0 38px;
      padding: 20px;
      border-radius: 0 8px 8px 0;
      position: relative;
      input {
        &::-webkit-input-placeholder {
          font-size: 12px;
          color: #717171;
        }
      }
      .btn-group {
        width: 100%;
        height: 30px;
        display: block;
        text-align: left;
        border-radius: 10px;
        .btn-item {
          display: inline-block;
          .login {
            width: 60px;
            height: 30px;
            font-size: 11px;
            text-align: left;
            padding: 0 6px;
          }
          .login-student {
            background: #00284A;
            color: #fff;
            border-radius: 5px 0 0 5px;
          }
          .login-teacher {
            background: #fff;
            color: #00284A;
            border-radius: 0 5px 5px 0;
          }
        }
      }
      .back {
        position: absolute;
        left: 38px;
        bottom: 32px;
        color: #00284A;
      }
      .login-form {
        margin-top: 20px;
        &>div {
          padding-bottom: 0;
        }
        .label {
          font-size: 14px;
          margin-bottom: 12px;
        }
        label {
          font-weight: 800;
        }
        .forget,
        .registry-now {
          width: 100%;
          display: inline-block;
          font-size: 12px;
          color: #00284A;
        }
        .forget {
          text-align: left;
          text-indent: 6px;
        }
        .registry-now {
          text-align: right;
        }
        .btn-login {
          width: 100px;
          height: 38px;
          position: absolute;
          right: 40px;
          bottom: 28px;
        }
      }
      .student-registry,
      .teacher-registry,
      .teacher-forget,
      .student-forget {
        color: #00284A;
        .title {
          font-size: 14px;
          font-weight: 600;
          color: #00284A;
          line-height: 24px;
          text-align: left;
          float: left;
        }
        .registry-btn {
          width: 100px;
          height: 38px;
          position: absolute;
          right: 40px;
          bottom: 22px;
        }
      }
      .teacher-registry {
        .title {
          width: 100px!important;
        }
        .toLogin {
          width: 200px!important;
        }
      }
      .registry-header {
        width: 400px;
        margin-bottom: 12px;
        .title {
          display: inline-block;
          width: 200px;
        }
        .toLogin {
          width: 100px;
          a {
            color: #00284A;
            font-weight: 800;
          }
        }
      }
      .student-registry {
        margin-top: 0px;
      }
      .teacher-registry {
        .toLogin {
          display: inline-block;
          width: 280px;
          text-align: right;
        }
      }
    }
  }
  .dialog-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    .dialog {
      position: relative;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 334px;
      height: 290px;
      background: #fff;
      z-index: 101;
      border: 1px solid red;
      &>p {
        width: 100%;
        text-align: center;
        font-size: 16px;
        color: #666;
        line-height: 40px;
      }
      .dialog-close {
        position: absolute;
        right: 5px;
        top: 5px;
        display: block;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        font-size: 18px;
        cursor: pointer;
      }
      .dialog-title {
        font-size: 18px;
        color: #0081e5;
        height: 100px;
        line-height: 130px;
      }
    }
    .dialog-mask {
      width: 100vw;
      height: 100vh;
      background: rgba(100, 100, 100, 0.5);
      position: fixed;
      z-index: 99;
      left: 0;
      top: 0;
    }
  }
}

#mid-container {
  * {
    font-size: @fontSize7;
  }
  strong {
    font-weight: bold;
  }
  h1 {
    text-align: center;
    font-size: @fontSize10;
    font-weight: bold;
  }
  >div {
    width: 1000px;
    margin: 0 auto;
  }
}
